package com.fivefu.core.hillstone.services;

import com.fivefu.core.hillstone.entity.DbHillstoneOrganization;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 大华组织表 服务类
 * </p>
 *
 * @author 
 * @since 2022-08-18 14:28:12
 */
public interface DbHillstoneOrganizationService extends IService<DbHillstoneOrganization> {

    /**
     * 编辑组织信息
     * @param org
     */
    void editHillstoneOrganization(DbHillstoneOrganization org);

    /**
     * 查询组织表所有数据
     * @return
     */
    List<DbHillstoneOrganization> queryAll();

    /**
     * 删除本地多余组织数据
     * @param orgCode    组织唯一编码
     * @return
     */
    void deleteRedundantData(String orgCode);

    /**
     * 根据组织唯一编码查询相关数据集
     * @param orgCode
     * @return
     */
    List<DbHillstoneOrganization> queryOrganizationList(String orgCode);
}
